/*
* File: connections.h
* Author: Joakim Akerstrom
* --------------------------
* This header describes the interface that handles
* the server/user communication.
*/

#ifndef _connection_h
#define _connection_h

/*
* Funtion: waitForAdminConnections
* Usage: iResult = waitForAdminConnections;
* ------------------------------
* Enters a state where the server is listening and accepting
* incomming connection requests at the admin port.
*/
int waitForAdminConnections(void);

/*
* Function: startHTTPThread
* Usage: iResult = startHTTPThread();
* -----------------------------------
* Starts a thrad to listen for incomming HTTP connections.
*/
int startHTTPThread(void);

#endif